package com.hoppinzq.service;

import com.hoppinzq.service.annotation.ServiceOrder;
import com.hoppinzq.service.bean.RPCBean;
import com.hoppinzq.service.bean.ServiceWrapper;
import com.hoppinzq.service.common.HoppinInvocationRequest;
import com.hoppinzq.service.common.HoppinInvocationResponse;
import com.hoppinzq.service.interceptor.aop.RPCInterceptor;
import com.hoppinzq.service.interceptor.service.RPCInterceptorInterface;
import com.hoppinzq.service.log.bean.ServiceLogBean;


@ServiceOrder(2)
@RPCInterceptor(10)
public class RPCInterceptorService implements RPCInterceptorInterface {

    @Override
    public void beforeAuthentication(HoppinInvocationRequest request, ServiceWrapper serviceWrapper) {

    }

    @Override
    public void beforeMethod(HoppinInvocationRequest request, ServiceWrapper serviceWrapper, RPCBean rpcBean) {

    }

    @Override
    public void after(HoppinInvocationResponse response, ServiceWrapper serviceWrapper, RPCBean rpcBean) {

    }

    @Override
    public void exception(HoppinInvocationResponse response, ServiceWrapper serviceWrapper, RPCBean rpcBean, Exception exception) {

    }

    @Override
    public void end(HoppinInvocationRequest request, HoppinInvocationResponse response, ServiceWrapper serviceWrapper, RPCBean rpcBean, ServiceLogBean logBean) {

    }

}

